﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SistemaGO_Desktop.Visao.Telas
{
    public partial class frmOpcoes : Form
    {
        private static frmOpcoes instancia = null;

        private frmOpcoes()
        {
            InitializeComponent();
        }

        public static frmOpcoes getInstance() {
            if (instancia == null) {
                instancia = new frmOpcoes();
            } else {
                instancia.Focus();
            }
            return instancia;
        }

        private void frmOpcoes_FormClosing(object sender, FormClosingEventArgs e) {
            instancia = null;
        }
    }
}
